package com.example.app03.bean;

public class Category {
	private Long id;
	private String name;
	private String description;
	private Integer no;
	private Long parentId;
	
	//无参
	public Category() {
		
	}
	//全参

	public Category(Long id, String name, String description, Integer no, Long parentId) {
		super();
		this.id = id;
		this.name = name;
		this.description = description;
		this.no = no;
		this.parentId = parentId;
	}
	
	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getNo() {
		return no;
	}

	public void setNo(Integer no) {
		this.no = no;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	@Override
	public String toString() {
		return "Category [id=" + id + ", name=" + name + ", description=" + description + ", no=" + no + ", parentId="
				+ parentId + "]";
	}
	
	
	
	
	
}
